#!/usr/bin/env python
# encoding: utf-8
'''
@author: 王震
@license: 四川凡狼科技有限公司
@contact: 2668985108@qq.com
@file: config.py
@time: 2021/9/29 10:54 上午
@desc:
'''

HOST = '116.62.58.101'
PORT = '3306'
DATABASE = 'app'
USERNAME = 'root'
PASSWORD = '200130!!'

DB_URI = "mysql+pymysql://{username}:{password}@{host}:{port}/{db}?charset=utf8&autocommit=true".format(username=USERNAME,
                                                                                        password=PASSWORD, host=HOST,
                                                                                        port=PORT, db=DATABASE)

SQLALCHEMY_DATABASE_URI = DB_URI
SQLALCHEMY_TRACK_MODIFICATIONS = False
SQLALCHEMY_ECHO = False
